﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZGLXM.Domain;

namespace ZGLXM.Infra.Interface
{
    public interface IUserRepository:IBaseRepository<User>
    {
        /// <summary>
        /// 事务新增用户角色
        /// </summary>
        /// <param name="user"></param>
        /// <param name="roleIds"></param>
        /// <returns></returns>
        Task<bool> UserRoleInsert(User user, int[] roleIds);
    }
}
